package com.dqhl.smartstable.util;

/**
 * Created by cheng on 2016/8/30.
 * 请求借口等相关
 */
public class Config {

    public static final class Api{

        public static final String base_url = "http://123.56.11.75/majiu/index.php/Mjapi/";

        //获取验证码
        public static final String auth_code = base_url + "Register/send_code";
        //login
        public static final String login = base_url + "Register/dologin";
        //绑定箱子
        public static final String bind = base_url + "Usercase/bind";
        //设防
        public static final String protect = base_url + "Usercase/start_alert";
        //解防
        public static final String unprotect = base_url + "Usercase/action_alert";
        //取消警报
        public static final String cancel_alarm = base_url + "Usercase/close_alert";
        //获取箱子位置
        public static final String showpoint = base_url + "Caseapi/showpoint";
        //警报日志
        public static final String alarm_log = base_url + "Log/alert_log";
        //操作日志
        public static final String operation_log = base_url + "Log/action_log";
        //个人信息
        public static final String user_info = base_url + "Userinfo/userindex";
        //个人信息修改
        public static final String edit_info = base_url + "Userinfo/editinfo";
        //车辆信息
        public static final String car_info = base_url + "Motorinfo/index";
        //add车辆信息
        public static final String car_add = base_url + "Motorinfo/doadd";
        //delete车辆信息
        public static final String car_delete = base_url + "Motorinfo/del";
        //edit车辆信息
        public static final String car_edit = base_url + "Motorinfo/doedit";
        //紧急联系人列表
        public static final String contacts = base_url + "Userinfo/indexrelation";
        //修改紧急联系人
        public static final String edit_contacts = base_url + "Userinfo/editrelation";


    }
}
